import request from '@/utils/request'

export function getRecordsByOid(oid) {
    return request({
      url: '/record/records/' + oid,
      method: 'get'
    })
}

export function addRecord(data) {
    return request({
      url: '/record/add',
      method: 'post',
      data
    })
}